/*
package com.zzz.springbootdemo.jms;

import org.springframework.jms.annotation.JmsListener;
import org.springframework.stereotype.Component;

@Component
public class ActiveMqTopicConsumer {
    @JmsListener(destination = "AMQT1",containerFactory="jmsListenerContainerTopic")
    public void receive1(String text){
        System.out.println("topic1:"+text
        );
    }
    @JmsListener(destination = "AMQT1",containerFactory="jmsListenerContainerTopic")
    public void receive2(String text){
        System.out.println("topic2:"+text
        );
    }
    @JmsListener(destination = "AMQT1")
    public void receive3(String text){
        System.out.println("topic3:"+text
        );
    }
}
*/
